﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MenuMaintenance.aspx.cs" Inherits="Triad.Framework.Admin.MenuMaintenance" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Menu Maintenance</title>
    <script type="text/javascript">
        function tflv1_OnTemplateOK() {
            tflv1.Rows.ApplyChanges();
        }

        function tflv1_OnTemplateCancel() {
            _TF.APP.Main.CloseAllErrors();
            tflv1.Rows.CancelChanges();
            //TalkToServer('CancelChanges', 'TemplateCancel');
        }
    </script>
</head>
<body>
    <form id="formMain" runat="server">
    <div>
        <asp:Panel ID="mnuPanel" runat="server" GroupingText="Main Menu Maintenance" 
            HorizontalAlign="Center" Width="100%">
            <tfc:tfListView ID="tflv1" runat="server" GridWidth="98%" CSSTheme="Green" 
            AllowAdd="true" AllowDelete="true" AllowEdit="true" AllowEditTemplate="true" 
             HiddenColumns="ReferenceIdMenuItemLabel" ReadOnlyColumns="ParentMenuItemLabel,MenuItemId"
            onupdate="tflv1_OnUpdate"  >
            </tfc:tfListView>
        </asp:Panel>

    </div>

    </form>
</body>
</html>
